<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/common/taglibs.jsp"%>
<html>
<head>
<title></title>
<%@include file="/common/ec.jsp"%>
<%@include file="/common/meta.jsp"%>
</head>
<body>
<div class="x-panel">
<div class="x-toolbar barBorder">
 <div style="margin: 5px;">【项目】已报销的信息</div>
</div>
<div class="x-panel-body" >
<ec:table items="items" var="item" retrieveRowsCallback="limit" sortRowsCallback="limit" 
	    action="projectIndex.do"
		useAjax="true" doPreload="false"
		maxRowsExported="10000000" 
		pageSizeList="5,50,100" 
		editable="false" 
		sortable="false"	
		rowsDisplayed="5"	
		generateScript="true"	
		resizeColWidth="true"	
		classic="false"	
		width="100%" 	
		height="140px"	
		minHeight="140"
		toolbarContent="navigation|pagejump|pagesize|refresh|status">
	<ec:row >
	    <ec:column width="30" property="_s" title="No." value="${GLOBALROWCOUNT}" sortable="false" style="text-align:center"/>
		<ec:column width="220" property="_item" title="科目" ellipsis="true">
		    ${item.item.name}【${item.item.code}】	
		</ec:column>			
		<ec:column width="90" property="amount" title="报销金额" style="text-align:right" format="#,##0.00" cell="number"/>      											
	</ec:row>
	<s:if test="#attr.items.size()!=0">
		<ec:extendrow>
			<tr style="background-color: #ffe3ee">
				<td colspan="2" align="right" id="No1"
					style="font-weight: bold; border-top: 0px; border-bottom: 0px; border-left: 0px;">合计：</td>
				<td align="right">&nbsp;<fmt:formatNumber value="${item.totalAmount}" pattern="#,##0.00"/></td>
			</tr>
		</ec:extendrow>
	</s:if>	
</ec:table>
</div>

</div>
</html>